package com.ruoyi.group.mapper;

import com.ruoyi.group.domain.Qualitied;
import com.ruoyi.group.domain.dto.QualitiedDealDto;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.SelectKey;

public interface QualitiedMapper {
    int add(Qualitied qualitied);

    Qualitied findByOrderId(int orderId);
    //使用注解指定插入成功后返回的主键值
//    @Options(useGeneratedKeys = true, keyProperty = "qualitiedId",keyColumn = "qualitied_id")
    int qualitiedByOrderId(QualitiedDealDto qualitiedDealDto);
}
